This function reads data from the designated level fields into the data buffer from the subsetted area of interest.
Result = EOS_PT_EXTRACTREGION( pointID, regionID, level, fieldlist, buffer)
Returns SUCCEED (0) if successful and FAIL (–1) otherwise.
Point id (long).
Period id (long) returned by EOS_PT_DEFBOXREGION.
Point level (0-based long).
List of fields (string) to extract.
A named variable that will contain the data buffer.
None
In this example, we read data within the subsetted area of interest defined by EOS_PT_DEFBOXREGION from the Longitude and Latitude fields:
regionID = EOS_PT_DEFBOXREGION(pointID, [-145.,-135.], [-15.,-8.])
IF (regionID NE -1) THEN BEGIN
status = EOS_PT_EXTRACTREGION(pointID, regionID, 0, $
"Longitude,Latitude", buffer)
HDF_UNPACKDATA, buffer, dataLong,dataLat,HDF_TYPE=[6,6]
ENDIF
5.2 |
Introduced |